package com.gitee.cashzhang27.test.cloud.keycloak.consumer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/12/15 12:41
 */
@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
public class CloudKeycloakAuthApplication {

  public static void main(String[] args) {
    SpringApplication app = new SpringApplication(CloudKeycloakAuthApplication.class);
    app.setBannerMode(Banner.Mode.OFF);
    app.run(args);
    log.info("CloudKeycloakAuthApplication is success!");
  }
}
